# Copyright 2016 Google LLC. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import os


class Defaults(object):
    ATTACHMENT_BACKEND = 'file://attachments'
    COUNT_QUERIES = False
    CSP_POLICY = None
    CWD = os.path.dirname(os.path.realpath(__file__))
    DEBUG = False
    EXTEND_CSP_POLICY = None
    ERROR_404_HELP = False
    FIRST_BLOOD = 0
    GAME_TIME = (None, None)
    INVITE_KEY = None
    LOGIN_METHOD = 'local'
    MAIL_FROM = None
    MAIL_FROM_NAME = None
    MAIL_HOST = 'localhost'
    NEWS_POLL_INTERVAL = 60000
    PROOF_OF_WORK_BITS = 0
    RULES = '/rules'
    SCOREBOARD_ZEROS = True
    SCORING = 'plain'
    SECRET_KEY = None
    TEAM_SECRET_KEY = None
    SESSION_COOKIE_HTTPONLY = True
    SESSION_COOKIE_SECURE = True
    SQLALCHEMY_TRACK_MODIFICATIONS = True
    SESSION_EXPIRATION_SECONDS = 60 * 60
    SYSTEM_NAME = 'root'
    TEAMS = True
    TEASE_HIDDEN = True
    TITLE = 'Scoreboard'
    SUBMIT_AFTER_END = True
